<f:view xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:pm="http://primefaces.org/mobile" contentType="text/html"
	renderKitId="PRIMEFACES_MOBILE">

	<pm:page title="Components">

		<!-- Main View -->
		<pm:view id="index">
			<pm:header title="Portal Librelato" swatch="b">
			</pm:header>

			<pm:content>

				<p:inputText label="Login" value="#{indexTela.usuario.login}" />
				<p:password label="Senha" value="#{indexTela.usuario.senha}" />
				<h:form>
					<p:button href="#principal?reverse=true" value="Entrar" />
				</h:form>
			</pm:content>

		</pm:view>


		<pm:view id="principal">


			<pm:header title="Pagina Principal" swatch="b">
				<f:facet name="left">
					<p:button value="Voltar" icon="back" href="#index?reverse=true" />
				</f:facet>
			</pm:header>

			<pm:content>


			</pm:content>


		</pm:view>


	</pm:page>
</f:view>



